/**
 * blank
 */
define(function(require) {
    var $ = require('jquery');
    var base = require('base');
    var com=require('./common');

    var browser = !!window.ActiveXObject || "ActiveXObject" in window;
    if (browser) {
        $('html').addClass('ie_mod');
    }else{
        //页面平滑滚动
        require('smoothscroll');
    };
    
    if(base.getType()!=='Pc'){
        require('offcanvas');
        $('.pageNav').offcanvas({
            position:'left',
            classes:'mm-white'
        });
    }else{

   //多组分享js         
   require.async('bdshare',function(bdshare){
       bdshare([{
            tag : 'news_share',  
            bdSize : 16,      //图标尺寸, 16｜24｜32
            bdStyle : '0'     //图标类型, 0｜1｜2
         }])
   });
               

    }


    $(window).resize(function(){
        var foodH = $('.pageFooter').outerHeight();
        $('body').css('padding-bottom',foodH);
    }).resize();

    
});